package xuecheng.tool.api.dto;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * 拦截器结果实体
 *
 * @author PengXueCheng
 * @version 1.0.0
 **/
@Getter
@ToString
@AllArgsConstructor
public class InterceptorResultDTO<T> implements Serializable {

    /**
     * 拦截器响应结果
     */
    private T result;

    /**
     * 是否拦截
     */
    private Boolean intercept;

}
